Automattic\Jetpack\Search\WPES\Query_Builder A

Total Complexity 56
Dependencies 0
Dependents 2
Total lines 399
Lines of code 235
Logical lines of code 104
Comment lines 80
Methods 20
Properties 17

Methods 20

Method Rating Maintainability Complexity Lines of code
build_query()
B
37 20 82
build_aggregation()
A
53 8 25
add_query()
S
60 4 15
build_filter()
S
62 3 12
add_bucketed_terms()
S
54 2 27
add_weighting_function()
S
65 3 10
add_aggs_sub_aggs()
S
68 2 7
get_langs()
S
72 2 6
add_max_boost_to_functions()
S
77 1 4
add_boost_to_query_bool()
S
77 1 4
add_filter()
S
76 1 4
set_all_aggs()
S
74 1 5
add_boost_mode_to_functions()
S
77 1 4
add_bucketed_query()
S
73 1 5
add_score_mode_to_functions()
S
77 1 4
add_bucket_sub_aggs()
S
75 1 4
add_bucket_filter()
S
76 1 4
add_decay()
S
76 1 4
add_function()
S
76 1 4
add_aggs()
S
73 1 5